﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SocialFront.Providers.Document;

namespace SocialFront.Web.usercontrols.Shared
{
    public partial class SocialButtons : System.Web.UI.UserControl
    {
        public string PageUrl { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            if(string.IsNullOrEmpty(PageUrl))
                PageUrl = DocumentProvider.Provider.GetPageUrl(DocumentProvider.Provider.GetCurrentPage());
        }
    }
}